package com.adaxi.adc.business.manager.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.adaxi.adc.business.manager.pojo.Passenger;
import com.adaxi.adc.business.manager.service.PassengerService;
import com.adaxi.adc.business.manager.mapper.PassengerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【adc-passenger(乘客信息表)】的数据库操作Service实现
* @createDate 2023-10-01 21:26:20
*/
@Service
public class PassengerServiceImpl extends ServiceImpl<PassengerMapper, Passenger>
    implements PassengerService{
    @Override
    public List<Passenger> passengerID(Long id) {
        return baseMapper.passengerID(id);
    }

    @Override
    public List<Passenger> passengerid(Long id) {
        return baseMapper.passengerid(id);
    }

    @Override
    public IPage<Passenger> queryPage(IPage<Passenger> page) {
        return baseMapper.queryPage(page);
    }

}




